package com.ftg.learn.chapter8.zaofabaidicheng;

import com.ftg.learn.chapter8.Adj;

/**
 * 测试
 *
 * @author kangjx
 * @version 1.0
 * @date 2023/7/25 下午1:52
 */
public class TestAdj extends Adj{

    public void aa(){
        Adj ad = new Adj();
        System.out.println(ad.publicInt);
        System.out.println(super.protectedInt);

        TestAdj t = new TestAdj();
        System.out.println(t.protectedInt);

    }

    public static void main(String[] args) {
        TestAdj ad = new TestAdj();
        ad.aa();
    }

}
